package com.exam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 成绩管理表
 * </p>
 *
 * @author zyh
 * @since 2023-03-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Score对象", description="成绩管理表")
public class Score implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分数编号")
    @TableId(value = "scoreId", type = IdType.AUTO)
    private Integer scoreId;

    @ApiModelProperty(value = "考试编号")
    private Integer examCode;

    @ApiModelProperty(value = "学号")
    private Integer studentId;

    @ApiModelProperty(value = "课程名称")
    private String subject;

    @ApiModelProperty(value = "平时成绩")
    private Integer ptScore;

    @ApiModelProperty(value = "期末成绩")
    private Integer etScore;

    @ApiModelProperty(value = "总成绩")
    private Integer score;

    @ApiModelProperty(value = "答题日期")
    private String answerDate;


}
